package codeGen;

import codeGen.core.Gen;
import codeGen.core.MysqlTableManager;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by DGG-XAM3C on 2016/9/12.
 */
public class BeginGen {

    public static void main(String[] args) {
        Map<String, String> tableAlias = new HashMap<String, String>(0);
//        tableAlias.put("tb_user_info", "UserInfo");
//        tableAlias.put("tb_user_login_record", "UserLoginRecord");
//        tableAlias.put("tb_user_businiess", "UserBusiniess");
//        tableAlias.put("tb_unbindcard_approval", "UnBindCardApproval");
//        tableAlias.put("tb_business", "Business");
        tableAlias.put("tb_user_lottery", "UserLottery");
        Gen gen = new Gen(new MysqlTableManager());

        gen.launch(tableAlias, "D:\\works\\nnfe", "demo", "DwzPagerMySQL");
    }
}
